#include "srv_plugin_manager.hpp"

/*---------------------------------------------------------------------------*/

namespace Server {

/*---------------------------------------------------------------------------*/

PluginManager* PluginManager::ms_instance = 0;

/*---------------------------------------------------------------------------*/


PluginManager::PluginManager()
{

}


/*---------------------------------------------------------------------------*/


PluginManager&
PluginManager::getInstance()
{
	if ( !ms_instance )
		ms_instance = new PluginManager;

	return *ms_instance;
}


/*---------------------------------------------------------------------------*/


ProjectManager::Engine&
PluginManager::getProjectManager()
{
	return m_projectManager.getEngine();
}


/*---------------------------------------------------------------------------*/

} // namespace Server
